﻿<template>
  <div v-loading = 'loading' :element-loading-text = 'loadingText'>
    <!-- <V-Title :titleName = 'titleName'></V-Title> -->
    <el-page-header @back = "goBack" :title = "$route.query.fatherName" :content = "titleName" class = 'page_header'></el-page-header>
    <div class = 'page_mainContent'>
      <Show-Form-Menu-Layout ref = 'formMenuLayout'
      @getFormData = 'getFormData' @tirggerSelfdefineEventClose = 'tirggerSelfdefineEventClose'
      @resetFormData = 'resetFormData' @openDialog = 'openDialog' @handelRowEvents = 'handelRowEvents'
      @reloadCurrentPage = 'reloadCurrentPage' :pageInit = 'pageInit' :fatherName = 'titleName'
      :pageRow = 'clickRow' :pPageRow = 'pPageRow' :changeModels.sync = 'changeModels' :models.sync = "models"
      :rules = "rules" :pageFormInfo.sync = 'pageFormInfo' :dynamicUid = 'dynamicUid'></Show-Form-Menu-Layout>
    </div>
    <!-- 关联的弹窗的页面 -->
    <Meta-Dynamic-menu-dialog :dynamicUid = 'relatedPageUid' :dynamicMenuDialogVisible = 'retatedPageVisible' :currentRow = 'clickRow' :pPageRow = 'pPageRow'
    :dialogType = 'dialogType'
    @closeDynamicMenuDialog = 'retatedPageVisible = false' @closeDynamicMenuDialogSuccess = 'closeDynamicMenuDialogSuccess'></Meta-Dynamic-menu-dialog>
    <!-- 执行事件相关操作 -->
    <WS-Trigger :wsConsoleDialog = 'wsDialogInfo.visible' :wsTitle = 'wsDialogInfo.title' :wsApiRouter = 'wsDialogInfo.wsApiRouter'
    @wsConsoleDialogClosed = 'wsDialogInfo.visible = false'></WS-Trigger>
  </div>
</template>

<script src='./metaDynamicMenu_newPage.js'></script>
